What religion are most people in Afghanistan?

Looks liks Islam dominates, with 99%. About 80% are Sunni and 20% Shia. See this Wikipedia article on Religion in Afghanistan for more details.

Religion was banned by the communists who ran the country from 1978-87 (the Soviets invaded in 1979, prompting the US to boycott the 1980 Olympics).

(see how Religion and Politics overlap?)

Also there are perhaps 300,000 people who practice Zoroastrianism in Afghanistan.